package com.ruoyi.htzj.service;

import com.ruoyi.common.mybatis.core.page.PageQuery;
import com.ruoyi.common.mybatis.core.page.TableDataInfo;
import com.ruoyi.htzj.domain.HtzjContents;
import com.baomidou.mybatisplus.extension.service.IService;
import jakarta.validation.Valid;

/**
* @author xq
* @description 针对表【htzj_contents(内容信息表，存储历史文化、特色美食、旅游景区等内容)】的数据库操作Service
* @createDate 2025-03-24 03:09:17
*/
public interface HtzjContentsService extends IService<HtzjContents> {

    TableDataInfo<HtzjContents> queryPageList(HtzjContents contents, PageQuery pageQuery);

    void insertContents(@Valid HtzjContents contents);

    void updateContents(@Valid HtzjContents contents);

    void deleteContentsByIds(Long[] contentIds);

    HtzjContents getContentById(Long contentId);
}
